package com.wjh.www.entity.po;

import com.wjh.www.annotation.mybatis.Column;
import com.wjh.www.annotation.mybatis.Table;

/**
 * @author wjh
 * @date 2021/9/10 16:13
 * @Package com.wjh.anyview.entity.po
 */
@Table("college")
public class College {
    @Column(value = "id")
    private Long id;
    @Column(value = "name")
    private String name;

    public College() {
    }

    public College(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "College{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
